(ccl_driver): Fix last change.
authorEli Zaretskii <eliz@gnu.org>
Thu, 25 Jan 2001 09:44:53 +0000 (09:44 +0000)
committerEli Zaretskii <eliz@gnu.org>
Thu, 25 Jan 2001 09:44:53 +0000 (09:44 +0000)
src/ccl.c

index 259ae8662f57379ae48485951d564699311fa1ab..f5f024bf8d6a750a95460acf4d5b7c73841a7830 100644 (file)
--- a/src/ccl.c
+++ b/src/ccl.c
@@ -1720,8 +1720,9 @@ ccl_driver (ccl, source, destination, src_bytes, dst_bytes, consumed)
     }
 
  ccl_error_handler:
-  if (ccl->suppress_error
-      && destination)
+  /* The suppress_error member is set when e.g. a CCL-based coding
+     system is used for terminal output.  */
+  if (!ccl->suppress_error && destination)
     {
       /* We can insert an error message only if DESTINATION is
          specified and we still have a room to store the message